package com.ada;

public class LongApp {

    public static void main(String[] args) {

        Long a=new Long("512");
        System.out.println(a.equals(512));
        System.out.println(a.equals(512L));
        System.out.println(a.equals(Long.valueOf("512")));

    }
}
